// chat/chat_router.go
package chat

import (
	"github.com/gin-gonic/gin"
)

type ChatRouter struct{}

func (r *ChatRouter) InitChatRouter(Router *gin.RouterGroup) {
	chatRouter := Router.Group("chat")
	{
		chatRouter.GET("history", ApiGroup.GetChatHistory) // 获取聊天记录
		chatRouter.GET("ws", ApiGroup.WebSocketHandler)    // WebSocket 路由
	}
}
